progress bar for executing query