Multi thread server