Fix handling reason on session-terminate