ReentrantLock and DaemonThread Example