protected CuratorFramework createCurator() throws KeeperException {
log.info(String.format("Creating curator [%s], mode: %s", connection, getCreateMode()));
CuratorFrameworkFactory.Builder builder = CuratorFrameworkFactory.builder()
.ensembleProvider(new FixedEnsembleProvider(connection))
.connectionTimeoutMs(connectionTimeout)
.sessionTimeoutMs(sessionTimeout)
.retryPolicy(new RetryNTimes(maxRetry, retryInterval));
if (password != null && password.length() > 0) {