class_docstr: Background process for tracking resource usage
class_docstr_tok: ["Background","process","for","tracking","resource","usage"]
code: def shutdown(self):
      if not self.parent_conn.closed:
          self.parent_conn.send("shutdown")
          self.parent_conn.close()
      self.join()
  
imports: from __future__ import annotations
  from collections import namedtuple
  from itertools import starmap
  from multiprocessing import Pipe, Process, current_process
  from time import sleep
  from timeit import default_timer
  from dask.callbacks import Callback
  from dask.utils import import_required
label_desc: Use image node_id 2 for calling the _Tracker obj's underlying member method code with example usage: obj.shutdown() without return types