Move the sleep to the appropriate location.

Please note sleep will be replaced with a trigger for this event to
happen in a future patch.