This is why I sleep on tough problems. I can honestly feel my brain thinking about it while I sleep and usually by the time I wake up, I have a solution or at least a new vector for attack. My father is the same way and keeps a notepad by his bed for this same reason.