How to Catch a Thought Loop Before It Spirals