open fun flush(): Unit
Overrides AffinityExecutor.flush
Run the executor until there are no tasks pending and none executing.