Make it possible to cancel async.