Update multiclient to handle thread sync