Make sure AsyncTestBase.inTx() waits for the tx to be commited or rolled back