B. Prior to the time of sale of such animal or transfer thereof to the nearest humane society or animal control agency, or other disposal thereof, any person claiming the right of property or possession of such animal may pay the amount necessary to satisfy the charges for services rendered to the animal, or on behalf of the animal, including all reasonable charges of notice and sale.