Bug 862402 - Check the connection status before we reconnect the device

https://bugzilla.mozilla.org/show_bug.cgi?id=862402