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