docs: def stop(self):
          """Stop the publisher.
          """
          LOGGER.debug("exiting publish")
          if self._publisher is not None:
              self._publisher.stop()
              self._publisher = None
          if self._broadcaster is not None:
              self._broadcaster.stop()
              self._broadcaster = None