mpegts: actually fix the PID closing crash bug!