Sometimes a good diversion is exactly what you need to get back on track.
Sir Isaac Newton wasn't in his laboratory when he discovered the law of universal gravitation. If you believe the fable, he was relaxing in the countryside, and whether or not an apple fell on his head what matters is that he was taking a break when the realization hit him.