in reply to wait before forking more

I think you might want to look at waitpid -- there should be a way to get what you want using that.