Clean up the process enumeration API