Cleanup conditions in Process.cpp