docs: void checkClosed() throws SQLException {
  
          if (isClosed) {
              throw Util.sqlException(ErrorCode.X_07501);
          }
  
          if (connection.isClosed) {
              close();
              throw Util.sqlException(ErrorCode.X_08503);
          }
      }