Maybe time to let the dog off the leash. Dogs are WAY quicker than bears, it's really rare that a bear actually gets a lick in on a medium to large size dog.

My grandfather and I hunted bear with dogs for just over a decade and he had been doing it for 40 years before that. In all that time, he had one dog get injured from a bear (and the dog did get pretty tore up). It was a very unlucky thing, one dog was squaring off and the other dog Blue actually stepped right into a claw strike. But I had seen Blue take on blackies several times before. Once it ran right up between a bears legs, inverted and latched onto the bears neck...that was quite spectacular (what an awesome dog Blue was).