Add a visible countdown in the terminal UI and terminate realtime PTY sessions after the fixed maximum lifetime.