(a) such person, and any firm, partnership or corporation of which he is a member, partner, director or officer shall be disqualified from thereafter selling to or submitting bids to or receiving awards from or entering into any contracts with any municipal corporation or fire district, or any public department, agency or official thereof, for goods, work or services, for a period of five years after such refusal, and to provide also that
(b) any and all contracts made with any municipal corporation or any public department, agency or official thereof on or after the first day of July, nineteen hundred fifty-nine or with any fire district or any agency or official thereof on or after the first day of September, nineteen hundred sixty, by such person, and by any firm, partnership, or corporation of which he is a member, partner, director or officer may be cancelled or terminated by the municipal corporation or fire district without incurring any penalty or damages on account of such cancellation or termination, but any monies owing by the municipal corporation or fire district for goods delivered or work done prior to the cancellation or termination shall be paid. The provisions of this section as in force and effect prior to the first day of September, nineteen hundred sixty, shall apply to specifications or contracts made or awarded by a municipal corporation on or after the first day of July, nineteen hundred fifty-nine, but prior to the first day of September, nineteen hundred sixty.