MaggieRoseLee always gives great advice!!
If you are going to try this method (and I highly recommend it), try to prevent the dog from rehearsing the unwanted behavior. Take a break from socializing, a couple weeks won't retard the dogs development, and work on teaching this coping mechanism, then introduce the "distractions" slowly.
The more you allow the dog to rehearse the unwanted behavior, the more difficult it can be to unteach it.
K9 Liesl vom Wildhaus - RIP