Adds request cancellation.