Repair or replace: When does it make sense to mend the threads you’ve got?