Fix unsafe async code for GetRouteData exception handling.