This thing works on incentives, in other words on game theory which assumes rational actors. If you are not one then situation is pretty helpless and it will be up to a chance on who will get the money after expiry.
Discussion
Why a wildcard ctv ? Why not seller takes all ? That incentivises buyer closing.