Discarded idea of checking internet connectivity via ping as ICMP might be blocked by some ISP