#4 added ability to stop the monitoring at the aggregated MonitoringTasks level. Moved monitoring shutdown hook to the Application layer