Officer shoots family's dog