     $.publish 'beatmapset:scoreboard:loading', true
     @setState loading: true
 
-    $.ajax (laroute.route 'beatmaps.scores', beatmaps: @state.currentBeatmapId),
+    @xhr = $.ajax (laroute.route 'beatmaps.scores', beatmaps: @state.currentBeatmapId),
       method: 'GET'
       dataType: 'JSON'
       data:

      @scoresCache[cacheKey] = data
      loadScore()

    .fail osu.ajaxError

    .always =>
      $.publish 'beatmapset:scoreboard:loading', false

      playmode: @state.currentPlaymode

  setCurrentScoreboard: (_e, {scoreboardType = @state.currentScoreboardType, enabledMod = null, forceReload = false, resetMods = false}) =>
    if @xhr?
      @xhr.abort()

    @setState
      currentScoreboardType: scoreboardType
