Update to alternate implementation that uses lsof