Running tasks on a node get terminated when node is shutdown

May be the task API could help?

More importantly, you must first do a rolling upgrade to the latest 6.8 version first.