glibc issue with pcap_close()