add threadPool shutdown hook when kill task