code: def stop(self):
          
          self.child.terminate()
          self._cleanup()
          return self.child.exitcode
docs: Stop this process.
  
          Once closed, it should not, and cannot be used again.
  
          :return: :py:attr:`~exitcode`.