Task shutdown cleanup, there was a bug that some tasks were not interrupted or dqueued on shutdown, resulting in slow shutdown of these tasks take a long time