retry lsof several times on failure