Added exception for case when a new Zookeeper instance is created, but connect() is never called before trying to run some query.