signal() catch the SIGCHLD to the safe_exit()