[fabbione/kronosnet] 07bc88: libtap: make libtap more thread safe