Multi Threaded C server