Add RedisClientFactory and fix message order.