Fix wait time on windows (Thanks to Tobii)