set pcap to non-block mode