Attempting clean shutdown of workers