[SPARK-3562]Periodic cleanup event logs

link #2391 
This should return a Runnable, not a Thread, since you're submitting them to the executor. Thread works but is overkill here.