redis client creation fix