fix silent failure when child process errors