ISPN-2736 ConcurrentModificationException in StateRequestCommand

The lock collections are already synchronized so all we need to do is to add synchronization on them around the iteration.