fix: if keyguard service is stopped, the process maybe terminated