Reset terminal attributes when terminating git send-email