code: static void closeQuietly(ResultSet rs) {
          try {
              if (rs != null && !rs.isClosed()) {
                  rs.close();
                  log.debug("closed {}", rs);
              }
          } catch (SQLException e) {
              log.debug(e.getMessage(), e);
          } catch (RuntimeException e) {
              log.debug(e.getMessage(), e);
          }
      }
docs: Closes a {@link ResultSet} and logs exceptions without throwing.
  
  @param rs