Fixed an issue where restarting a busy data integration could lead to data integration metrics to stop being collected.