flushMicrotasks and flushTimers