This lets callers differentiate between errors when connecting to adb and errors because adb couldn't talk to the device.