Fixed race condition on Jedis client