Avoid call to failure block when operation is cancelled