JENKINS-22259 - install script on exit as Machine can kill all the processes.