code: def unexpected_disconnect(self, conn_or_internal_id):
          
  
          data = {
              'id': conn_or_internal_id
          }
  
          action = ConnectionAction('force_disconnect', data, sync=False)
          self._actions.put(action)
docs: Notify that there was an unexpected disconnection of the device.
  
          Any in progress operations are canceled cleanly and the device is transitioned
          to a disconnected state.
  
          Args:
              conn_or_internal_id (string, int): Either an integer connection id or a string
                  internal_id