changed the scope of catching exception in ssh_execute