Remove get_port_pid optimizations