Fixed the ssh-agent termination