fix some crash,when aria2 host is error!