Make it possible to cancel async requests.