add AsyncErrorHandler

to better catch exceptions