fixed zkclient closing bug