Make 'ls' check threaded

That is the last bit - the only ssh operation which was not
threaded yet

Change-Id: I279b00919fee174af4f105d9920a2da25b8e9394
Merge "Make 'ls' check threaded"