Wait for ready message before returning control