naming worker processes and putting the parent to sleep