Add a anti "the connection to the device has failed"
It's would be very good for those who have the connection to the device has failed problem. I don't know hard would be to add this, but just something like If "connection to the device has failed = true Then "retry"