Finished pthread server