title: Memory leak Error when connect redis with lettuce client
body: <p>I am using lettuce to connect to redis: spring-boot-starter-redis :2.0.6.RELEASE, when I startup the app it come out this error:</p>
  
  <pre><code>[ERROR][main][ResourceLeakDetector][error] - LEAK: 
  HashedWheelTimer.release() was not called before it's garbage- 
  collected. See http://netty.io/wiki/reference-counted-objects.html for 
  more information.
  Recent access records: 
  Created at:
  io.netty.util.HashedWheelTimer.&lt;init&gt;(HashedWheelTimer.java:272)
  io.netty.util.HashedWheelTimer.&lt;init&gt;(HashedWheelTimer.java:216)
  io.lettuce.core.resource.DefaultClientResources.&lt;init&gt;(DefaultClientResources.java:163)
  io.lettuce.core.resource.DefaultClientResources$Builder.build(DefaultClientResources.java:461)
  io.lettuce.core.resource.DefaultClientResources.create(DefaultClientResources.java:229)
  io.lettuce.core.AbstractRedisClient.&lt;init&gt;(AbstractRedisClient.java:96)
  io.lettuce.core.RedisClient.&lt;init&gt;(RedisClient.java:86)
  io.lettuce.core.RedisClient.create(RedisClient.java:123)
  org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.lambda$createClient$7(LettuceConnectionFactory.java:853)
  java.util.Optional.orElseGet(Optional.java:267)
  org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.createClient(LettuceConnectionFactory.java:853)
  org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.afterPropertiesSet(LettuceConnectionFactory.java:232)
  </code></pre>
  
  <p>redis config file :</p>
  
  <pre><code>  public class RedisConfig {
  
    @Bean
    RedisConnectionFactory lettuceConnectionFactory(RedisProperties 
     redisProperties) {
     // 
    }
  
    @Bean
    public RedisTemplate&lt;String, Object&gt; 
    redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
  
    }
  
    private RedisStandaloneConfiguration connection(RedisProperties 
    redisProperties) {
  
    }
   }
  </code></pre>
  
  <p>config yaml file :</p>
  
  <pre><code>  spring:      
     redis:
       host: 
       lettuce:
        pool:
         max-active:  100
  </code></pre>
  
  <p>is anyone help?</p>