Print sane error messages when either child or parent dies

1) In case child dies, we need to avoid crashing with stacktrace on invalid input from child. Easier to wait for SIGCHLD. Also need to kill other children
2) In case parent dies, detect it when communicating with parent and silently exit. Would be great to implement killing of all childs in __DIE__ handler of parent