Hashtable ht = (Hashtable) ((ThreadLocalMap)tlm).get();
if(ht != null) {
ht.clear();
}
// clear the thread local map
((ThreadLocalMap)tlm).remove();