[offline][managed][client] CancelAndDiscard and CancelAndUpdate methods should throw if the associated operation is collapsed in another thread