The acceptance of an assignment of any such bond shall be a bar to any action by or on behalf of the party receiving such assignment against the sheriff or other officer making the same for any escape of the prisoner executing such bond, amounting to a breach thereof.
Wis. Stat. § 898.29