It sounds like the transactions need to be made atomic, as they would be in a PSBT swap. Then you can get rid of escrow.