Use async exception to interrupt calculation