Add function findPIDOnPort to search a process PID with the opening port