I use a pop can with coins and a "No Bark". Never thought of a medicine vial. (I will have to give that a try. It would be much better than packing around a can.)

But it does work. The noise redirects their attention.
And I want to check out the neck thing. Can you elaborate on that one, please?