in reply to Re^4: Forking child processes.
in thread Forking child processes.

Signals interrupt sleep. Mind you, no signals are being handled here, so your solution would work too.