capture done in a different thread
progress bar