have the child processes clean up their own state if possible