Maintenance Contract vs. Ad-Hoc Repairs: Which Saves More?