code: public synchronized static void closeWriters() {
          writerCache.values().forEach(writer -> {
              try {
                  writer.close();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          });
          writerCache.clear();
      }
docs: 关闭所有 writer