Adjusted wait for spinning placeholder
this pull contains the changes made in pull #231
Merge pull request #232 from AlinT/add_wait_for_heavy_query

Adjusted wait for spinning placeholder