lists to free thread resources after a fork (in the child). Also remember to free the dead thread list.