Don't use timeout to recheck if the stream has closed.