I know it would be hard, but I say ignore it every time! As you are hugging the person, explain quitely "this is a bad habit that DS has, so just ignore it, we're working on it". Then release from the hug and go about your business, conversation etc. I would even try to play this out at home more often to practice. You and hubs hug, he throws tantrum, you release from hug when done and move to another room to talk. If he follows, tell him you won't talk to him until he calms down, and continue to go about your business and ignore him.