Solve the problem that may cause incorrect existence status of ssh-agent process