clear() {
    this.requests = [];
    this.listeners.forEach(l => l(this.requests));
  }