                  os.killpg(pgid, signal.SIGKILL)
                  print("Killed")
          else:
              print("Terminating Process...")
              try:
                  self.process.terminate()
                  self.process.wait(timeout=10)
                  print("Terminated")
              except TimeoutExpired:
                  print("Termination timed out. Killing Process...")
                  self.process.kill()
                  print("Killed")
 
</s> remove             except TimeoutExpired:
                print("Termination timed out. Killing Process...")
                self.process.kill()
 </s> add                 return

            print("Termination timed out. Killing Process...")
            for child in alive:
                child.kill()
            _, alive = psutil.wait_procs(alive, timeout=10)
            if not alive: </s> remove                     os.kill(self.process.pid, signal.CTRL_BREAK_EVENT)
 </s> add                     os.kill(
                        self.process.pid,
                        signal.CTRL_BREAK_EVENT) # pylint: disable=no-member </s> remove         if returncode == 0 or returncode == 3221225786:
 </s> add         if returncode in (0, 3221225786):
            children = psutil.Process().children(recursive=True)
            for child in children:
                child.terminate()
            _, alive = psutil.wait_procs(children, timeout=10)
            if not alive:
                  os.killpg(pgid, signal.SIGKILL)
                  print("Killed")
          else:
              print("Terminating Process...")
            children = psutil.Process().children(recursive=True)
            for child in children:
                child.terminate()
            _, alive = psutil.wait_procs(children, timeout=10)
            if not alive:
            children = psutil.Process().children(recursive=True)
            for child in children:
                child.terminate()
            _, alive = psutil.wait_procs(children, timeout=10)
            if not alive:
            children = psutil.Process().children(recursive=True)
            for child in children:
                child.terminate()
            _, alive = psutil.wait_procs(children, timeout=10)
            if not alive:
                  print("Terminated")
              except TimeoutExpired:
                  print("Termination timed out. Killing Process...")
                  self.process.kill()
                  print("Killed")
keep keep keep keep replace replace replace keep keep keep keep keep
 gui bugfix - termination on extract 
lib/gui/wrapper.py