Script checks internet connectivity and reports length of downtime