ISPN-2578 Two PrepareCommands in parallel cause ConcurrentModificationException