1. Add mutex to avoid some fatal erro.
2. Currently remove progress bar to avoid memory leak.