avoid deadlocks when interrupting CityGML export