Added Connectivity check