waitpid multiple in one SIGCHLD handle