Revert "Detect whether emulator is ready by online state."

This reverts commit 4459bb1a075a9e2bbeed4fb4d0859a5add489d2d.