docstr: Test exception handler in thread pool 
docstr_tok: ["Test","exception","handler","in","thread","pool"]
code: def test_exception_in_worker_thread(self):
      """Test exception handler in thread pool"""
      QUEUE_SIZE = 100
      pool = ThreadPool(10, results_queue_size=QUEUE_SIZE)
      self._test_exception_in_worker_impl(pool, QUEUE_SIZE)
      pool.stop()
      pool.join()
  
imports: import time
  import unittest
  import numpy
  from multiprocessing import Process, Manager
  from psutil import pid_exists
  from petastorm.workers_pool import EmptyResultError
  from petastorm.workers_pool.dummy_pool import DummyPool
  from petastorm.workers_pool.process_pool import ProcessPool
  from petastorm.workers_pool.tests.stub_workers import CoeffMultiplierWorker, WorkerIdGeneratingWorker, WorkerMultiIdGeneratingWorker, SleepyWorkerIdGeneratingWorker, ExceptionGeneratingWorker_5, PreprogrammedReturnValueWorker
  from petastorm.workers_pool.thread_pool import ThreadPool
label_desc: Use image node_id 17 for calling the TestWorkersPool obj's underlying member method code with example usage: obj.test_exception_in_worker_thread() without return types