code: def thread_pool():
          
          if not LocalImage._thread_pool:
              logger.info("Starting LocalImage threadpool")
              LocalImage._thread_pool = concurrent.futures.ThreadPoolExecutor(
                  thread_name_prefix="Renderer")
          return LocalImage._thread_pool
docs: Get the rendition threadpool