Analysis in separate thread