dirty multithread server