add the wait option for the client get command:
ar-run ... | ar-get -w -a --stdout | annotation-commands