code: def stop(self):
          
          if self.__task:
              self.__task.cancel()
          if self.__poller:
              self.__poller.unregister(self.zap_socket)
              self.__poller = None
          super().stop()
docs: Stop ZAP authentication