Move monitoring sampling to a place that it will actually reduce CPU load