fixing resource leak where I wasn't removing observers from the monitoring tasks