Add retries to redis queue commands.