code: def stop(self):
      if not self._started:
          raise RuntimeError("not started")
      self._monitor.stop()
      util.rmtempdir(self.log_dir)
  
imports: import json
  import logging
  import math
  import os
  import socket
  import subprocess
  import sys
  import threading
  import time
  from werkzeug.exceptions import NotFound
  from werkzeug.utils import redirect
  from guild import serving_util
  from guild import util
  from guild import var
label_desc: Use image node_id 7 for calling the TBServer obj's underlying member method code with example usage: obj.stop() without return types