added a very short delay after showProgress to have the ability to use the progressHUD directly