You can withdraw your offer at anytime and without reason.
If you get really technical (in VIC anyway) you can withdraw your offer even if the vendor has signed it but as long as you haven't received a copy of the COS.
E.g. the vendor signs at 6:30pm and you don't receive your copy until...