remove psutil.error usage (deprecated)