Squish: Stabilize progressBarWait()

Change-Id: I9511317f8389963e5c98230d6885311a84c2dc25
Reviewed-by: Christian Stenger <christian.stenger@digia.com>