code: def kill_all():
      if os.name == "nt":
          # windows
          # taskkill with /T kill all the subprocess
          subprocess.run(
              ["taskkill", "/F", "/T", "/PID", str(os.getpid())]
          )
      else:
          pgid = os.getpgrp()
          os.killpg(pgid, signal.SIGTERM)
          sys.exit(1)
  
file_path: pfrl/pfrl/experiments/train_agent_async.py
imports: import logging
  import os
  import signal
  import subprocess
  import sys
  import numpy
  import torch
  import torch.multiprocessing
  from torch import nn
  from pfrl.experiments.evaluator import AsyncEvaluator
  from pfrl.utils import async_, random_seed
label_desc: Use image node_id 1 for calling a global function with example usage: kill_all() without return types