dont delete the stream twice