Reverting ProcessMonitor shared pointer changes