If one party does not carry out the accorded transaction, then the other party can withdraw the funds from the contract without suffering a loss. The only loss could be transaction fees in the original concept, but a similar contract can also be achieved off-chain (with similar mechanisms than the Lightning Network offers).