code: def stop_capture(self):
          
          if self._process is None:
              raise sniffer.InvalidOperationError(
                                        "Trying to stop a non-started process")
          utils.stop_standing_subprocess(self._process, kill_signal=signal.SIGINT)
          self._post_process()
docs: See base class documentation