ping task for icmp and http pings