[fabbione/kronosnet] 45018e: libtap: cleanup tap socket on last close