make rt:wait_for_service less racey