docs: def disconnect(self):
          """
          Disconnect from deluge
          """
          if self.connected:
              self._socket.close()
              self._socket = None
              self.connected = False