Run indexing in other thread when Updating extents and re-indexing metadata.

Work is done for: https://jira.swisstopo.ch/browse/GEOCAT_SB-60