code: def abort(self):
          
          err = _pa.Pa_AbortStream(self._stream)
          if err == _pa.paStreamIsStopped:
              return
          self._handle_error(err)
docs: Terminate audio processing immediately.
  
          This does not wait for pending audio buffers. If successful,
          the stream is considered inactive.