If a sheriff who shall have taken any such bond shall discover that any surety to such bond is insufficient, the sheriff may commit the prisoner, who executed the same, to close confinement in such jail until other good and sufficient sureties shall be substituted.
Wis. Stat. § 898.18