change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed