I can even recall a handful of times when I was trying to solve a fiddly problem, and couldn't concentrate because our (open floor plan) office was a zoo.
I would tell my boss I needed some quiet, would go home, would sit down and solve the problem, and would come back the next day feeling much less frustrated.