Replaced notify"closeMonitor" with notify"disconnect".