make flushTimers timeout relative to elapsed time