enable non-blocking mode when using pcap library