make sure connections are returned to pool if user interrupts KML/COLLADA export