(5) All obligations under the contract shall be terminated, except to the extent determined that continuation of the contract is necessary for the continued operation of the association;
- (i) By the Comptroller, or his or her designee, at the time the Federal Deposit Insurance Corporation enters into an agreement to provide assistance to or on behalf of the association under the authority contained in 13(c) of the Federal Deposit Insurance Act; or
(ii)
- (A) By the Comptroller or his or her designee, at the time the Comptroller, or his or her designee approves a supervisory merger to resolve problems related to operation of the association or when the association is determined by the Comptroller to be in an unsafe or unsound condition.
- (B) Any rights of the parties that have already vested, however, shall not be affected by such action.