YAHOO-226 -- QE change the way to read from PipedInputStream