wait for zookeeper session to be aquired before allowing registrations