Set in all places checking for internet connection