Added check for adb status