Get a fix to make sure all workers termiante when server closes.