Fix find_job for threaded minion
Remove proc files for threads that are not running
Revert unintened change
If threaded then remove all proc files for other pids
Fix error in commit a5bb429
Merge pull request #10599 from olliewalsh/fix_10581

Fix issue #10581