Add wait ssh loop for Shell driver