docs: def remove_handler(self, handler):
          """Detach active handler from the session
  
          `handler`
              Handler to remove
          """
          super(Session, self).remove_handler(handler)
  
          self.promote()
          self.stop_heartbeat()