Experts say knowing when to abandon or change your goals may be just as important as persistence.