Ok. That makes sense. Sorry for taking your time. I known my implementation is buggy, but never thought second invocation of lsof is related. Thanks.