I've been working on the habit of instead of getting frustrated or impatient, I take ownership of the interaction. I used to say things like "yeah I know" or "I'm aware" but now I'll say "that's correct". If it's not actually correct I'll do some um actually... of my own. If they don't get the hint from "yes, that's right" I'll just interrupt them and bring up whatever actual topic is the reason keeping me in the interaction. I'll ask a pointed question about something I genuinely need more information on, regardless of how unrelated it was from the original topic. If there's no reason to continue the conversation, I'll say "alright I should get going/actually I need to focus on this/I'm trying to get this done" and just entirely disengage or leave.
Maybe I seem eccentric, weird, bitchy or unusual but there were plenty of other clues.