wait on the server