Check for network availability