reject promise on child process errors