Fix unused monitoring tasks (issue #1777)