Socket Synchronous multithread