added a pthread exit