[SPARK-3304] [YARN] ApplicationMaster's Finish status is wrong when uncaught exception is thrown from ReporterThread

I think this would be cleaner if you just put the exception handling code in the reporter thread code itself (in `launchReporterThread()`).