If the defendant gives to the plaintiff a bond with sufficient surety to be approved by the sheriff before the return of the attachment or by the court or justice of the peace (as the case may be), after the return thereof to pay any judgment recovered against the defendant with costs, the property attached and the garnishee summoned shall be discharged.
Code 1915, § 1155; 40 Del. Laws, c. 135, § 1; Code 1935, § 1351; 9 Del. C. 1953, § 8748; 70 Del. Laws, c. 186, § 1.