funcx endpoint shows disconnected due to process name check
**Describe the bug**
On macos, the name of an endpoint process is the python version, rather than `funcx-endpoint`. This means we cannot use process name check to confirm that the process pid number is in fact the endpoint.

**Expected behavior**
A working endpoint should be listed as 'Running', not 'Disconnected

diff --git a/funcx_endpoint/funcx_endpoint/endpoint/endpoint_manager.py b/funcx_endpoint/funcx_endpoint/endpoint/endpoint_manager.py
index b022ffea..da91e4b8 100644
--- a/funcx_endpoint/funcx_endpoint/endpoint/endpoint_manager.py
+++ b/funcx_endpoint/funcx_endpoint/endpoint/endpoint_manager.py
@@ -412,18 +412,17 @@ class EndpointManager:
                 "active": False
             }
 
-        older_pid = int(open(filepath, 'r').read().strip())
+        pid = int(open(filepath, 'r').read().strip())
 
         active = False
         try:
-            proc = psutil.Process(older_pid)
-            if proc.name() == match_name:
-                # this is the only case where the endpoint is active.
-                # If the process name does not match or no process exists,
-                # it means the endpoint has been terminated without proper cleanup
-                active = True
+            psutil.Process(pid)
         except psutil.NoSuchProcess:
             pass
+        else:
+            # this is the only case where the endpoint is active. If no process exists,
+            # it means the endpoint has been terminated without proper cleanup
+            active = True
 
         return {
             "exists": True,
['funcx_endpoint/funcx_endpoint/endpoint/endpoint_manager.py']