@Override
    public void onError(Throwable t) {
        maybeCloseFileChannel(t, true);
    }
Asynchronously writes a {@code StreamMessage<HttpMessage>} to a {@link File}.
core/src/main/java/com/linecorp/armeria/common/stream/AsyncFileWriter.java