Retrying to connect to redis on a failure