Make thread in Netdevice gracefully quit.