Add Close method to client.