When the work has been substantially completed except for work which cannot be completed because of weather conditions, lack of materials or other reasons which in the judgment of the municipality are valid reasons for noncompletion, the municipality may make additional payments, retaining at all times an amount sufficient to cover the estimated cost of the work still to be completed or may pay ou