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

Why does this need to be `synchronized`? Is it possible for two threads (in the same txn) to hit this at the same time? Isn't the completion state entered only once, regardless of the number of threads participating in the txn?