code: public static void close(Connection conn, Statement stmt, ResultSet rs) {
          close(rs);
          close(stmt);
          close(conn);
      }
docs: Safely closes resources and logs errors.
  @param conn Connection to close
  @param stmt Statement to close
  @param rs ResultSet to close