Check network on NSURLConnection error