void close() throws Exception {
   if (null != client) {
     client.close();
   }
 }