allow asynchronous exceptions to be caught