code: def remove(self):
          
          self.logger.debug('Remove subscription from server...')
  
          data = {
              'command': 'unsubscribe',
              'identifier': self._identifier_string()
          }
  
          self.connection.send(data)
          self.state = 'unsubscribed'
docs: Removes the subscription.