Explicitly close datasource for analysis and nub updater