Prevent KWindowBasedIdleTimePoller from getting stuck
In a time tracker app using KIdleTime I noticed that the timeoutReached signal was only fired once until I changed the timeout from the app. I think this is caused by the issue I describe and try to fix in the second commit of this MR.
This still needs to be tested, I don't have a Windows dev machine at the moment.