A contractor hires a subcontractor to do work on a job. The contractor obtains a bond to cover the taxes owed by the subcontractor for this job. When will the bond be released?

A contractor hires a subcontractor to do work on a job. The contractor obtains a bond to cover the taxes owed by the subcontractor for this job. When will the bond be released?