Use of stdout "data" event to push output stream instead of calling read...

... when stdout is readable avoids stdout stream to get stuck sometimes