SO vet retires after 31 years of service