If the charge is not paid within three years, the lien may be foreclosed, and the superintendent or warden may sell the property, or such part as is necessary, to satisfy the lien and costs of sale. The property may be sold at public or private sale.