prototype.ensureAborted = function() {
    if (this.interval) {
      clearInterval(this.interval);
      this.interval = null;
    }