Preserve pid through depacketization