Added code to wait for queue completion after full set of wallpapers are
downloaded for a particular query before continuing further