Only call ReadToEnd when maxLength > 0