code: def pool(self):
          
          if self._pool is None:
              self._pool = ThreadPool(self.pool_threads)
          return self._pool
docs: Create thread pool on first request
           avoids instantiating unused threadpool for blocking clients.