cancellation for parallel unparse
fix releasing tasks in parallel unparse