I have some ways I battle this: I listen to one repetitive track without vocals on repeat, I use pomodoros (http://pomodorotechnique.com) to break my time up and battle exhaustion and sometimes I'll put my headphones on to make sure I don't get distracted.