code: @Override
      public void close() {
          if (unprocessed != null) {
              try {
                  unprocessed.forEach(ByteBuf::release);
              } finally {
                  unprocessed = null;
              }
  
              if (endOfStream) {
                  listener.endOfStream();
              }
          }
      }
docs: Closes this deframer and frees any resources. After this method is called, additional
  calls will have no effect.