def __init__(self, thread_manager, thread_count=10):
        self.logger = logging.getLogger(
            'storj.downstream_farmer.utils.ThreadPool')
        self.tasks = PriorityQueue()
        self.thread_manager = thread_manager
        self.workers = list()
        self.workers_lock = threading.Lock()
        self.max_thread_count = 50
        self.load_minimum = 0.01
        self.load_maximum = 0.5
        # managed monitor thread
        self.monitor_thread = self.thread_manager.create_thread(
            name='MonitorThread',
            target=self._monitor)
        for i in range(0, thread_count):
            self._add_thread()
try_stmt : TRY COLON suite FINALLY COLON suite
dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/utils.py/ThreadPool.__init__--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_try_stmt1