fix pool termination
Merge pull request #7 from Wikidata-lib/importer

fix pool termination