restore terminal title on ssh exit