Don't enter idle mode from the main loop until the client is ready