add progress bar for asyn tasks