Waiting for the transaction to complete before resolving the promise
Signal to the QueryWrapper that it's inside a transaction, update promise resolution/rejection