Add infinite loop around packet sniffing