wait_for_emulator