Fix an issue that could cause rapidly scheduled events to be slightly delayed by cleaning up fired and not repeating timers properly.