ticket 90295 fix APIRequest crash when network error