initial implementation of client-side wait for server completion