docs: @Handler
      public void onClose(Close event, Channel channel)
              throws InterruptedException {
          Writer writer = inputWriters.get(channel);
          if (writer != null) {
              writer.close(event);
          }
          writer = outputWriters.get(channel);
          if (writer != null) {
              writer.close(event);
          }
      }