MODE-1821 - Fixed the inconsistency which can occur when creating SNS simultaneously from multiple threads. The solution was to add an additional method to JcrSession#PreSave and which is executed only after Infinispan locks are obtained on the changed nodes.