MODE-2353 Fixed the Infinispan tx listener in case multiple writer threads are active