handle the task-complete monitor notification