docs: def restart_listener(self, topics):
          '''Restart listener after configuration update.
          '''
          if self.listener is not None:
              if self.listener.running:
                  self.stop()
          self.__init__(topics=topics)