Add missing `ai_session_unref` calls to prevent memory leaks. - In `_ai_request_thread`, release session on error paths and after successful processing. - In `cmd_ai_start`, release reference after passing ownership to the AI window.