pds_core: fix deadlock between reset thread and remove (CVE-2026-68319) | HOL Guard CVE