code: def stop_process(self):
          
          if not self.process:
              return
  
          logger.info("I'm stopping module %r (pid=%d)", self.name, self.process.pid)
          self.kill()
          # Clean inner process reference
          self.process = None
docs: Request the module process to stop and release it
  
          :return: None