The county treasurer shall not pay any part of the money to the treasurer of the district until the county treasurer is satisfied that all of the valid obligations for which the assessments were levied and for which payment has been demanded have been paid.