Avoid having transaction with the Thread.Sleep method in a loop | CAST Appmarq