Step 1.2 of event loop