just self._stream is None will do here