Update AsyncHandler's onFailure callback signature