Set a short transaction timeout, sleep during the first chunk.
Following a transaction timeout, chunks fail when running in JBoss EAP / Wildfly with
JBERET000007: Failed to run job ..., org.jberet.job.model.Chunk...: javax.transaction.NotSupportedException: WFTXN0001: A transaction is already in progress
[GSS](7.2.z) JBERET-459: JBeret batches fail following timed out transactions
JBeret batches fail following timed out transactions
[GSS](7.1.z) Upgrade jberet from 1.2.6 to 1.2.7