docs: def wait(self, timeout=None):
      """
      Block until all jobs in the ThreadPool are finished. Beware that this can
      make the program run into a deadlock if another thread adds new jobs to the
      pool!
  
      # Raises
      Timeout: If the timeout is exceeded.
      """
  
      if not self.__running:
        raise RuntimeError("ThreadPool ain't running")
      self.__queue.wait(timeout)