Disconnect from SSH on termination