That depends entirely on the deal you sigh and what contingencies, if any, are in the deal. There is a little thing called "Specific Pacific Preformance of a Contract", that usually applies to the seller but can also hold the buyer responsible for damages to the seller.