docs: def stop(self) -> None:
          """
          Stop the :class:`~lahja.endpoint.Endpoint` from receiving further events.
          """
          if not self._running:
              return
  
          self._running = False
          self._receiving_queue.put_nowait((TRANSPARENT_EVENT, None))
          self._internal_queue.put_nowait((TRANSPARENT_EVENT, None))