Use signal(SIGCHLD, SIG_IGN) to avoid defunct proccesses