docstr: Shuts down all running threads.
  
  Args:
      None
  
  Returns:
      None
docstr_tok: ["Shuts","down","all","running","threads",".","Args",":","None","Returns",":","None"]
code: def shutdown(self):
      """Shuts down all running threads.
  
      Args:
          None
  
      Returns:
          None
      """
      for _, tg in self.thread_groups.items():
          for t in tg:
              t.event.set()
              t.thread.join()
  
imports: import os
  import queue
  import threading
  import time
  from copy import copy
  from dataclasses import dataclass
  from typing import Dict
label_desc: Use image node_id 5 for calling the MicroBatching obj's underlying member method code with example usage: obj.shutdown() without return types