[Bug 478666] keypress events fail at unpredicatable time after login, but held down key works, kill server fixes