protected void immediately(ChannelHandlerContext ctx, ChannelPromise promise) {
        if (ctx.channel().isActive()) {
            ctx.close(promise);
        } else {
            promise.setSuccess();
        }
    }
User: michaels@netflix.com
Date: 2/8/17
Time: 2:03 PM
zuul-core/src/main/java/com/netflix/netty/common/Http1ConnectionCloseHandler.java