Close down SSH connection when finished with a job.