add multi-thread server