Personally, I keep a smaller child close by to distract the dog, in order to let the other child escape.