Close the redis connection on error

Before losing the reference to this.client, forcibly close the
connection to the Redis server.

If the Redis server couldn’t be reached in the first place
(ECONNREFUSED on connection), this also prevents node-redis from
auto-reconnecting indefinitely.