Using a water bottle to just spray a bit of water at them works. By "works", I mean the dog will veer away from it and slow down. If you are "at speed", it should give you the margin to get by the dog and have a decent lead before the dog regains its pursuit (it usually will not).