Reset terminal when ssh exits.