Adding networking connection check