At any time after the service of a notice of lien claim or filing of judgment or pending the determination of any action commenced thereunder, the prime contractor shall be entitled to the release of any moneys due the prime contractor under the contract upon filing a bond, executed by a surety company duly authorized to transact business in this state, with the public authority having jurisdiction over the work, guaranteeing that the prime contractor will pay any judgment of the court rendered in favor of the lien claimant and all judgments filed. Such bond shall be in an amount sufficient to insure payment of the lien claims and judgments, and shall be approved as to form and amount by the public authority.
Wis. Stat. § 779.17