Removes separate thread for ls and cd. seems to cause problems with jsch.