docs: private static void close(ReadRecord record) {
          if (record != null) {
              try {
                  record.close();
              } catch (IOException e) {
                  String msg = "Error while closing record.";
                  log.warn(msg, e);
              }
          }
      }