Some malformed messages took a very long time to scan