code: def _controller(self):
          
          while self.running:
              try:
                  cmd = self._controller_q.get(timeout=1)
              except (TimeoutError, Empty):
                  continue
              log.debug("WSSAPI._controller(): Received command: %s", cmd)
              Thread(target=self.eval_command, args=(cmd,)).start()
docs: This method runs in a dedicated thread, calling self.eval_command().
          :return: