Result of 'PipedInputStream.read()' is ignored
if there are fewer bytes read you will get wrong string in "new String(bytes)"