Abort when operation has been cancelled to avoid a deadlock