Added reaping of child processes.