Diana Wynne Jones said this quote

People are wrong when they say things like, “I didn’t have time to think.” If you’re really worried, or really miserable, those feelings come welling up around the edges of the other things you’re doing, so that you are in the feelings even when you’re working hard at something else.