fix the redis pool error