use custom fd (3) instead of stdout (1) for detecting child process termination
make sure all subprocess exits are caught properly
some more inline comments on process control
suppress first pkill error output too in case processes are gone already; makes 'heroku logs' output a bit less cluttered and confusing on shutdown
HHVM/3.2.0