You may check the contract to see it include a non-conditional terminate clause (in Texas, we have option period that for a samll fee, the buyer has right to terminate the comtract in certain days, 7 or 10, without any reason.
Also do you have a Realter or attorney help you when you sign the contract. If your Realtor or attorney does not explain or use the right contract form, you may seek compensation from them.
I should state that I am not an attorney and not intend to provide any legal advise or services. Just for your reference. The best way is to have a local attorney help you review the whole file.