Anyone else awkwardly pat the back of whoever you are hugging?

I do not do this with my partner, or if it's a hug I feel comfortable with. But most people if they ask for a hug I will awkwardly pat or rub their back or shoulder. It's a reflex I don't think about it at all it just always happens.

No one has ever complained or anything. I just know it only happens when I am not comfortable with a hug. It's almost like I'm saying "ok, there, there.. you just about done?" I don't think anyone else reads it that way it's just how it feels for me if that makes sence.

Idk this is kinda silly I'm just wondering if anyone else does that or something similar.