[PATCH OLK-5.10 1/2] cpuinspect: make inspector unregister reliable