use ioredis instead of redis
add extra code to make typescript happy
fix errors
TypeError: this._client.zadd is not a function
because redis has changed api
ClientClosedError: The client is closed
because redis is broken https://stackoverflow.com/questions/70896392