code: def _disconnect_hanging_devices(self):
          
  
          now = monotonic()
          for uuid, data in self._connections.items():
              if (now - data['last_touch']) > self.client_timeout:
                  self._logger.info("Disconnect inactive client %s from device 0x%X", data['client'], uuid)
                  self._loop.add_callback(self._disconnect_from_device, uuid, data['key'], data['client'], unsolicited=True)
docs: Periodic callback that checks for devices that haven't been used and disconnects them.