implemented internet connection warning
merged