public void destroy() {
   try {
     if (connection != null) {
       connection.close();
     }
   } catch (Exception e) {
   }
 }