Check coneection available or not