When someone says 'Your welcome' before you can say thank you and makes you look/feel like a total douche bag and thereby, ruining your moment of graditude. The only way to avoid this is to beat them at their own game and say thank you like a run on sentence.
You "OMG! A new Gucci handbag! This must have been soooo expensive!"
Them "Your welcome"
You "Er...thank you..."
*with new knowledge*
You "OMGanewGuccihandbagthismusthavebeensoso expensivethankyou!"
Them "Er...your welcome"
See how you can flip that shit? Practice your TY Delayage