Destruct the promise and cancel the operation.
~promise();
It is safe to destroy a promise that has not completed.