call reject() when child process fails