Fixing ConcurrentModification problem with registrars in NetworkShell