free the entries in the thread label table on exit