Fixed loop structure in PcapLoop