23-40. Insolvent released on giving bond.
Every debtor entitled under the provisions of this chapter to discharge as an insolvent may, at the time of filing his application for a discharge or at any time afterwards, tender to the sheriff or other officer having his body in charge, a bond, with sufficient surety, in double the amount of the sum due any creditor or creditors at whose suit he was taken or charged, conditioned for the appearance of such debtor before the court where his petition is filed, at the hearing thereof, and to stand to and abide by the final order or decree of the court in the case. If such bond be satisfactory to the sheriff, he shall forthwith release such debtor from custody.