Multithreaded and multiple client support working