def _stop(self):
        self._running = False
        self._terminating = True

        if not self._p0:
            log.info("_p0 is none")

        try:
            parent = psutil.Process(self._p0.pid)
        except psutil.NoSuchProcess:
            log.info("psutil.NoSuchProcess %s" % self._p0.pid)
            return

        children = parent.children(recursive=True)

        log.info('Sending signal %s to process %s' % (self.stopsignal, self._p0.pid))
        self._send_signal(self._p0.pid, self.stopsignal)

        return children
Terminate this process, 
dataset/ETHPy150Open Anaconda-Platform/chalmers/chalmers/program/base.py/ProgramBase._stop