[#5603] update pgrep to not match self, rather than skipping last pid