Add a sleep to the wait loop if the child process has not het finished setup
and SIGSTOPped itself.
No need to busy wait and burn cycles here.