fix double exit in one ssh session
update gem version
Merge pull request #1 from erks/double_exit_fix

fix double exit in one ssh session