[fix] fix the app terminated abnormally

 if app can't connect network, app terminated abnormally