This is a really heavy operation to do for each packet read. Is there no other way to detect it?