catching parse exceptions and ignoring packets