Various v3

Fix Chain Task end function
Fix Chain Task cancel function
Fix Task async cancel function