class_docstr: Represent and manage a single run of an experiment.
class_docstr_tok: ["Represent","and","manage","a","single","run","of","an","experiment","."]
code: def _stop_heartbeat(self):
      self.run_logger.debug("Stopping Heartbeat")
      # only stop if heartbeat was started
      if self._heartbeat is not None:
          self._stop_heartbeat_event.set()
          self._heartbeat.join(timeout=2)
  
imports: import datetime
  import os.path
  import sys
  import traceback
  from sacred import metrics_logger, SETTINGS
  from sacred.metrics_logger import linearize_metrics
  from sacred.randomness import set_global_seed
  from sacred.utils import SacredInterrupt, join_paths, IntervalTimer
  from sacred.stdout_capturing import get_stdcapturer
label_desc: Use image node_id 8 for calling the Run obj's underlying member method code with example usage: obj._stop_heartbeat() without return types