lazy locking in AbstractHelixResolver for getting connections