public synchronized Target getTarget() {
        if (target == null || !target.isValid()) {
            if (target != null) // Don't log the first time
                logger.log(Level.INFO, "Connecting to " + address);
            target = supervisor.connect(new Spec(address));
        }
        return target;
    }
This is synchronized to avoid multiple ConfigInstances creating new targets simultaneously, if
the existing target is null, invalid or has not yet been initialized.

@return The existing target, or a new one if invalid or null.
config/src/main/java/com/yahoo/vespa/config/JRTConnection.java