Fix missed endtimeperiod in overrun timer on windows.