move active_tasks calls on db importer