Fixes minor watchdog bug on windows