Ensure the progress dialog is fully gone when the Stop() method returns