redis bug: redis.connected must be in redis.on.connect