Added synchronized (getConnectors()) to merge()