Fix ConcurrentModificationEx in RpcRegistry.onBucketsUpdated