Retry reading from the stream instead of waiting for input data on socket.