'Internal method. Removes a stream.
:param stream: An instance of the :py:class:`Stream` object.'

def _remove_stream(self, stream):

    if (stream in self._streams):
        self._streams.remove(stream)
