TEST-Running Sonar in separate thread