CuratorFramework namespaceClient = client.usingNamespace("foo");
namespaceClient.create().forPath("/test-me");
final CountDownLatch latch = new CountDownLatch(1);
final Semaphore semaphore = new Semaphore(0);
ConnectionStateListener listener = new ConnectionStateListener()
{
@Override
public void stateChanged(CuratorFramework client, ConnectionState newState)
{
if ( (newState == ConnectionState.LOST) || (newState == ConnectionState.SUSPENDED) )