public void closeHandlers() {
        for (LogSegment s : values())
            s.closeHandlers();
    }
Close the handlers for all segments.
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegments.java