Fix hang in client test

If the client from the "connect timeout" test is not closed, the node
process will not exit due to node-zookeeper-client constantly
attempting to connect.