docs: def stop(self, timeout=None):
          """Stop the given command"""
  
          if not timeout:
              timeout = self.timeout
          self.kill_switch()
          # Send the signal to all the process groups
          self.process.kill()
          self.thread.join(timeout)
          try:
              os.killpg(os.getpgid(self.process.pid), signal.SIGTERM)
          except:
              pass
          if self.stopped:
              return True
          else:
              return False