Wait before returning child process info to fix child process race
condition on fork.