Addition of internet connectivity check