refactoring about jedis pool