It's OK for lsof to exit non-zero; that means nothing is listening.

(Ergh, I don't like that syntax.)