Coal City, county agree to long-term animal control