refs #12972 fix to handle stray and defunct processes