[JENKINS-21601] fix to close open ssh sessions
when running an init script.
Merge pull request #76 from cfortier2/master

[JENKINS-21601] fix to close open ssh sessions