Ensure that wsh_ssh_send_cmd is successful upon success