Cancelling a CURLTransfer could lead to an exception