I am trying to sniff packets using pyshark library in Python and I managed to capture live packets using pyshark.LiveCapture(interface='...'). However, when I use capture.sniff(packet_count=5), the capture doesn't stop after 5 packets, it continues on. How can I stop packet receiving using pyshark?