We could learn to reward ourselves for working without interruptions for some set amount of time, regardless of how much got done.
The reason why many people find the Pomodoro Technique so effective might be because it does exactly this.