Always call TerminateProcess when exiting a session.