code: public void shutdown() {
      getLogger().info(getPath() + " shutdown");
      active = false;
      try {
        if (reader != null) {
          reader.close();
          reader = null;
        }
      } catch (IOException ioe) {
        ioe.printStackTrace();
      }
    }
docs: Close the reader.