@Override
    public void close() throws IOException {
      if (currentChunk != null) {
        currentChunk.close();
      }
    }
Writer that a single thread can use to write features independent of writers used in other threads.
planetiler-core/src/main/java/com/onthegomap/planetiler/collection/ExternalMergeSort.java