Does this still work if you're part way through reading the stream?