Making sure threading flag is picked up correctly