move gratuitous arp to a thread