SPARK-3779. yarn spark.yarn.applicationMaster.waitTries config should be...

... changed to a time period
count isn't needed anymore