notify listener on task cancellation