client-side wait for server child to complete works