Never release deposit before settlement. Ever.
Lets say the vendor has your cash then declares bankruptcy, or spends it then gets hit by a car, or cant settle and you terminate the contract, you are then left with a difficult legal battle to get your money back