fix bugs that spawning too many ssh-agent