Don't loop on waitpid returning 0