[Vivi, Naval] Adding wait until queue task of gearman is empty to the test integration of throttle with ureport.