Shouldn't the check for noSessionOverride happen here? Seems like the logic is: if we're starting a new session and (a) there's currently one running, and (b) sessionOverride is true, then go ahead and stop the current session before invoking the new one.