Network connection checking works