fixed automatic restarting of worker processes