Add proper error handling to SSH task.