docs: public void cleanup() {
          if (lineSource != null) {
              try {
                  lineSource.close();
              } catch (Exception e) {
                  // Ignore
              }
          }
  
          lineSource = null;
          line = null;
          number = 0;
      }