handle Node.js child_process error conditions more gracefully
improve exit signal hand-off logic