replace exit(3) by _exit(2) in signal handler sigchld()