[SPARK-3562]Periodic cleanup event logs

link #2391 
Ah, another thing: you should override `stop()` and shut down this executor cleanly (it's mostly a "best effort" thing, but still).