Added threaded client