That's where the Pomodoro technique might be useful. If one adheres to it, it does what the article describes as "making the decision in advance." After you take a break after the stopping point, the technique makes you continue on. But of course, that means you have to embrace the plan and not resist against it, either.