If the lender provides timely written notice to the Agency of withdrawal of the claim, the guarantee will continue as if the default had not occurred if the borrower cures the default prior to foreclosure or prior to acceptance of a deed-in-lieu of foreclosure.