Wait for emulator