@Override
    public void release() {
        // Don't call IOUtils.release(in, null) or else could lead to infinite loop
        SdkIOUtils.closeQuietly(this);
        if (in instanceof Releasable) {
            // This allows any underlying stream that has the close operation
            // disabled to be truly released
            Releasable r = (Releasable)in;
            r.release();
        }
    }
Can be used to provide abortion logic prior to throwing the
AbortedException. If the wrapped {@code InputStream} is also an instance
of this class, then it will also be aborted, otherwise this is a no-op.
aws-java-sdk-core/src/main/java/com/amazonaws/internal/SdkFilterInputStream.java