Improved performance of capturing packets.