use waiting loop when starting xivoclient

reason: sleep(1) may be a little short when starting the XiVO Client,
and the traceback produced was unclear