fix counter in PcapDumpHandler