class_docstr: Wraps subprocess.Popen for a given WorkOrder.
class_docstr_tok: ["Wraps","subprocess.Popen","for","a","given","WorkOrder","."]
docstr: Hard interrupt. Immediately SIGTERM subprocess.
docstr_tok: ["Hard","interrupt",".","Immediately","SIGTERM","subprocess","."]
code: def terminate(self) -> None:
      """Hard interrupt. Immediately SIGTERM subprocess."""
      self._proc.terminate()
  
imports: import dataclasses
  import json
  import os
  import pickle
  import signal
  import subprocess
  import time
  import uuid
  from typing import List, Optional, TYPE_CHECKING, Union
  from core.api import AutoLabels
  from core.types import Label
  from core.utils import get_temp_dir
  from worker.main import WORKER_PATH, WorkerFailure, WorkerOutput, WorkerTimerArgs, WorkerUnpickler
label_desc: Use image node_id 8 for calling the _BenchmarkProcess obj's underlying member method code with example usage: obj.terminate() without return types