Added a wait timeout for ssh