Added a process cleaner to destroy dead thread data.