fix: can't close looping pcap