Agree entirely. Just today I was staring at some code that I intuitively knew could be rearchitected to be simpler, more maintainable, etc., but I couldn't put my finger on just how to do it. So I'd stare at it for half an hour, and then take a break, repeat throughout the day. Now I'm pretty sure exactly what I need to do, and I think it's entirely because I took my attention away from it every so often.