Restore terminal after SIGABRT