title: Jedis connection is not closed by the jedis.close() method
body: <p>I am using Redis for storing  my data. When I issue <code>jedis.close()</code> from my server, the connection is not closed, it is still showing in the list of connections (e.g. the <code>CLIENT LIST</code> command in Redis still shows the Jedis connection). If the server is shutdown, the connection ends in Redis.</p>
  
  <p>Why doesn't the <code>jedis.close()</code> method close the connection? Can someone explain this behaviour?</p>
  
  <p>I attached the code snippet:</p>
  
  <pre><code>try
  {
      GenericObjectPoolConfig  poolConfig = new GenericObjectPoolConfig();
      poolConfig.setMaxTotal(MAX_ACTIVE_POOL);
      poolConfig.setMaxIdle(MAX_IDLE);
      poolConfig.setMinIdle(MIN_IDLE);
      pool = new JedisPool(poolConfig, SINGLE_REDIS_IP, SINGLE_REDIS_IP_PORT, TIMEOUT, REDIS_PASSWORD,REDIS_RDB_NUMBER);
      Jedis jedis = pool.getResource();
      jedis.clientSetname("TestRedis");
      System.out.println(jedis.smembers("apikey"));
      System.out.println(jedis.get("apikey"));
      if(jedis != null &amp;&amp; jedis.isConnected())
          jedis.close();
  }
  catch(Exception e)
  {
      e.printStackTrace();
  }
  </code></pre>