defer setting client