handle child process abnormal termination, without writing ret code to prexec's pipe