We had a neighbor whose herding dog was bored and would nip at anyone who walked by. And if they ran it was a sharper nip. He has since found another home with someone who is working with him and giving him a job to do. Everyone including (or maybe especially) the dog is much happier now.