managed client wrap