Add a sleep before retrying IDLE

This happens for the same reason as in the sync code.