class_docstr: Monitor a given trial inside a thread, updating its heartbeat
  at a given interval of time.
  
  Parameters
  ----------
  exp: Experiment
      The current Experiment.
docstr: Run the trial monitoring every given interval.
docstr_tok: ["Run","the","trial","monitoring","every","given","interval","."]
code: def run(self):
      """Run the trial monitoring every given interval."""
      while not self.stopped.wait(self.wait_time):
          self._monitor_trial()
  
imports: import threading
label_desc: Use image node_id 3 for calling the TrialPacemaker obj's underlying member method code with example usage: obj.run() without return types