What a hoot. The Linux (at least Fedora) version of libpcap
will not timeout in the dispatch routine. It apparently will stay in recvfrom() til it gets a packet. This caused stop/snapshot events (as well as "kill -TERM") to not do anything. So we blast all the pthreads out of recvfrom with a signal after setting the flag to force them to return from dispatch (pcap_breakloop).
Showing with 119 additions and 25 deletions