You need to take your contract and talk to a lawyer. There could be a whole range of issues eg who determines if they are entitled to an extension, have they failed to do enough in good weather. This is all going to depend on the wording of not only your ‘sunset’ clause but also other parts of the contract. Other issues about quality of specifications etc might need to be considered.
You might need to instruct a solicitor experienced in building/construction disputes.
If you’re going to try and get out of the contract, and presumably the Vendor wants you to stick to it, there are going to be costs involved. You should consider doing a cost-benefit analysis to see whether the costs of trying to/getting out of the contract are cheaper than your presumaed loss on settling at the contract price.