Close client when done with test