Fixed ProcessMonitor concurrency bug