<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _on_disconnect(self):
 """Callback when a device is disconnected unexpectedly. Args: adapter_id (int):
 An ID for the adapter that was connected to the device connection_id (int):
 An ID for the connection that has become disconnected """


        self._logger.info("Connection to device %s was interrupted", self.connection_string)
        self.connection_interrupted = True