Unused timer caused random startup crash on windows?