pub fn remove_process_endpoints(owner: ProcessId) -> Result<usize>
Remove all endpoints owned by a process (used during process cleanup)