Make LettuceConnectionFactory thread-safe