prison sentence for beating dog