Trigger error callbacks asynchronously

This allows one to, e.g., yield the current fiber after making the request and resume it in a callback.