public Thread newThread(Runnable r) {
    Thread t = new Thread(r, namePrefix + threadNumber.getAndIncrement());
    t.setDaemon(daemon);
    return t;
  }
Simple thread factory that can set daemon status on threads and give them
names.
src/main/java/net/spy/memcached/internal/BasicThreadFactory.java