County to fly flags at half-staff to honor trooper