Improving async exception handling