The franchisee owed the company several million dollars for equipment,ingredients,and franchise fees and,as part of the deal, Krispy Kreme asked the franchisee to close two underperforming stores and to pay Krispy Kreme the accrued interest on past-due loans.