poll for icmp packets in mainloop