If the owner appears and pays all costs of the proceedings and files a bond, with sureties to be approved by the clerk, in the full value of the property, to be ascertained by the court, or by the judge, in vacation, conditioned that he will immediately abate such nuisance and prevent the same from being established or kept within a period of one year thereafter, the court, or, in vacation, the judge, may, if satisfied of his good faith, order the premises closed under the order of abatement to be delivered to such owner and such order of abatement cancelled so far as the same may relate to such property; and if the proceeding be a suit in equity and such bond be given, and costs therein paid before judgment and order of abatement, the suit shall be thereby abated as to such building only. But the release of the property under the provisions of this section shall not release it from judgment, lien, penalty, or liability to which it may be subject by law.
Code 1919, § 1527.