_setupKeepAlive(delay) {
    this.client.on("ready", async () => {
      await this._ping();
      this.pingIntervalID = setInterval(this._ping.bind(this), delay);
    });

    this.client.on("error", () => {
      clearInterval(this.pingIntervalID);
      this.pingIntervalID = null;
    });
  }
Setup a ping interval to keep the connection alive
Every 60 seconds a ping is sent to Redis