class_docstr: Entity that monitors active timers and expires them
  in a timely fashion. This server is responsible for
  reaping workers that have expired timers.
class_docstr_tok: ["Entity","that","monitors","active","timers","and","expires","them","in","a","timely","fashion",".","This","server","is","responsible","for","reaping","workers","that","have","expired","timers","."]
docstr: Reaps the given worker. Returns True if the worker has been
  successfully reaped, False otherwise. If any uncaught exception
  is thrown from this method, the worker is considered reaped
  and all associated timers will be removed.
docstr_tok: ["Reaps","the","given","worker",".","Returns","True","if","the","worker","has","been","successfully","reaped",",","False","otherwise",".","If","any","uncaught","exception","is","thrown","from","this","method",",","the","worker","is","considered","reaped","and","all","associated","timers","will","be","removed","."]
code: def _reap_worker(self, worker_id: Any) -> bool:
      """
      Reaps the given worker. Returns True if the worker has been
      successfully reaped, False otherwise. If any uncaught exception
      is thrown from this method, the worker is considered reaped
      and all associated timers will be removed.
      """
  
imports: import abc
  import logging
  import threading
  import time
  from contextlib import contextmanager
  from inspect import getframeinfo, stack
  from typing import Any, Dict, List, Optional, Set
label_desc: Use image node_id 5 for calling the TimerServer obj's underlying member method code with example usage: obj._reap_worker(worker_id) without return types