stream is not closed