read loop in Ssh._execute()