When property of the defendant found in his possession or in the hands of any other person shall be attached, the defendant, or such other person, may retain or regain the possession thereof at any time before final judgment or sale of such property under the order of court, by giving bond and security to the satisfaction of the officer executing the writ, or other proper officer, to the sheriff, his successor or their assigns, in double the value of the property attached, conditioned that the same shall be forthcoming when and where the court shall direct, and shall abide the judgment of the court.
§ 521.260, RSMo