refresh when internet connection returns