class_docstr: Custom pool that creates multiple threads instead of processes
class_docstr_tok: ["Custom","pool","that","creates","multiple","threads","instead","of","processes"]
code: def __init__(self, n_workers):
      self.pool = ThreadPoolExecutor(n_workers)
  
imports: import concurrent.futures
  import logging
  import multiprocessing
  import pickle
  import traceback
  from concurrent.futures import ThreadPoolExecutor, wait
  from multiprocessing import Process
  from multiprocessing.pool import Pool
  import cloudpickle
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 1 to create a new ThreadPool object  with example: obj = ThreadPool(n_workers)