fixed always valid check of ssh-agent process running