Note that the SIGCHLD handler could be re-entered.