In the last couple of places I've worked, I've found there is at least one person in my department that just won't stop talking, once I get them started. What typically happens is that I'll go over to ask them a quick question, which should take no more than 5-10 minutes to answer, but then, once they start talking, they just go on ... and on ... and on, and before I know it, I've been there for 30-45 minutes, with them pretty much monologue-ing, despite me giving only very limited/brief responses or nods and despite clear body-language signals that I have other things I need to do.
So, I'm wondering what is the best way to break away, whilst still being respectful and not offending them?
I am aware that there have been some other questions asked before about colleagues that talk too much in the office; however, what I am looking for are not long-term solutions to the general problem of other people talking too much in the office, but specifically how to tactfully break away in that moment, when someone is trying to 'suck you into their bubble'. How can I ask that quick question and get away, without being 'tractor-beamed'?