Fix the set of the return code and error string when we are unable to
  connect to a device.