private void shutdownPropertyStore(PropertyStore<?> store, long timeout, TimeUnit unit) throws Exception
{
final CountDownLatch registryLatch = new CountDownLatch(1);
store.shutdown(new PropertyEventShutdownCallback()
{
@Override
public void done()
{
registryLatch.countDown();