Allows easy cancellation of async/await methods.