docs: public void cacheStatements(Closure closure) throws SQLException {
          boolean savedCacheStatements = cacheStatements;
          cacheStatements = true;
          Connection connection = null;
          try {
              connection = createConnection();
              callClosurePossiblyWithConnection(closure, connection);
          } finally {
              cacheStatements = false;
              closeResources(connection, null);
              cacheStatements = savedCacheStatements;
          }
      }