[BUG] set a longer idle time to capture key events.

This seems to be specific to Windows platform after upgrading to Qt 5.4.