Retry query after session refresh