County terminates fire department contract