Remove pthread