Wait until null != svgDocument