I'd consider it an idiom. It's used when something has stopped the natural progression of things. I usually hear it in cases where a person has become deeply involved in some project or with some person, and the deal goes bad, so to speak.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.