code: def _terminate_process(self):
          
  
          log.info("Stopping VPCS instance {} PID={}".format(self.name, self._process.pid))
          if sys.platform.startswith("win32"):
              self._process.send_signal(signal.CTRL_BREAK_EVENT)
          else:
              try:
                  self._process.terminate()
              # Sometime the process may already be dead when we garbage collect
              except ProcessLookupError:
                  pass
docs: Terminate the process if running