no more references to pthread in the stack