[SPARK-3293] yarn's web show "SUCCEEDED" when the driver throw a exception in yarn-client

@vanzin But this code is *in* the AM, isn't it? That's what I'm saying above.