Obviously there has to be a closing date for paying back to the smart contract to prevent reorganisation if the created utxo was already spent before the higher payment was made. Also the payments are conditional on winning the smart contract.  