Close Zookeeper on ZINVALIDSTATE and ZSESSIONEXPIRED errors