class_docstr: Maintain worker's information in a worker node. 
  
  Attributes:
      cpu_num(int): The number of CPUs to be used in this worker.
      gpu_num(int): The number of GPUs to be used in this worker.
      jobs(set): A set that records job addresses provided to the master.
      worker_address(str): Address of the worker.
docstr: Remove all the jobs
code: def clear(self):
      """Remove all the jobs"""
      self._lock.acquire()
      for job in self.jobs.values():
          try:
              os.kill(job.pid, signal.SIGTERM)
          except OSError:
              logger.warning(
                  "job:{} has been killed before".format(job.pid)
              )
          logger.info("[Worker] kills a job:{}".format(job.pid))
      self.jobs = dict()
      self._lock.release()
  
file_path: PARL/parl/remote/status.py
imports: import threading
  from parl.utils import logger
  import signal
  import os
label_desc: Use image node_id 3 for calling the WorkerStatus obj's underlying member method code with example usage: obj.clear() without return types