run jedis in a thread