def stop(self):
if self._started.isSet() andnot self._running.isSet() andnot self._pausing.isSet():<EOL><INDENT>super(Plumber, self).stop()<EOL>self.disconnect()<EOL>self.stats['<STR_LIT>'] = time() - self.stats['<STR_LIT>']<EOL>self._started.clear()<EOL><DEDENT>else:<EOL><INDENT>raise PlumberError<EOL><DEDENT>
Stops a paused pipeline. This will a trigger a ``StopIteration`` in the
inputs of the pipeline. And retrieve the buffered results. This will
stop all ``Pipers`` and ``NuMaps``. Python will not terminate cleanly 
if a pipeline is running or paused.