finish TaskMonitor