public void cancel() {
        synchronized (monitor) {
            if (cancel) return;

            if (timeoutManager != null && timeout != null)
                timeoutManager.unscheduleTimeout(this);
            cancel = true;
        }
    }
<p>Mark this request as cancelled and frees any resources held by the request if possible.
All subsequent calls to {@link #isCancelled()} on this Request return <em>true</em>.</p>

@see #isCancelled()
jdisc_core/src/main/java/com/yahoo/jdisc/Request.java