make sure workers are fully shutdown before they are destroyed