Merge "lshal: close fd before joining thread"