why do you need the getOrElse here, given that you just checked that failedExecutors contains taskId?