Your contract likely has a closing date that you are unlikely to hit. If you go past it you might have the reason to get out but I would imagine they still try to hold your deposit and that is usually not worth getting lawyers involved over (as you will spend about the same in legal fees or more to get it back)