Check for network failure