@Override
    public void channelInactive(ChannelHandlerContext ctx) throws Exception {
        if (!notifiedOnFailure) {
            notifiedOnFailure = true;
            if (!Boolean.TRUE.equals(ctx.channel().attr(ChannelAttributeKeys.FINAL_ACK_RECEIVED).get())) {
                responseHandler.onFailure(new SdkClientException("Service closed connection before final AckEvent was received"));
            }
        }
    }
An exception was propagated from further up the pipeline (probably an IO exception of some sort). Notify the handler and
kill the connection.
aws-java-sdk-kinesisvideo/src/main/java/com/amazonaws/services/kinesisvideo/internal/netty/handler/ErrorUnmarshallingHandler.java