add catch the exceptipn of jedis