Read Logcat immediately after sending key events, and then sleep.