I don't smoke, but I go outside every few hours with the smokers, just to get that change of pace. I find the combination of fresh air, a change of scene, and a chance to look at something further away than the wall of my office help to give my brain a quick break. I can usually keep myself in flow, and it sometimes even jogs my brain around a puzzle I've been working at.