Fix: restart system call upon receiving SIGCHLD