Modified the cancellation method to call back to the delegate on the original thread.