fixed crash when trying to reload threads when getting internet connection