[8.x] WFLY-3702 RetryInvoker needs to be aware of transaction status

https://issues.jboss.org/browse/WFLY-3702