ISPN-4426 Transaction replayed but not committed

https://issues.jboss.org/browse/ISPN-4426

Move the transaction replay check inside TxInterceptor to avoid concurrency
issues (since TransactionSynchronizerInterceptor synchronizes on the tx).
can't you add some count down latch or barrier after the tx interceptor? I think using sleep can cause some random failures in the future