Change the deprecated way of instantiate Redis's client