Shut down Event bus in a controlled manner.

If an executor shuts down the driver too fast so that an event in flight does not get delivered,
the last "TASK_FINISHED" message may get lost and successfully finished tasks end up as TASK_LOST.

Make sure that the event bus is fully drained before shutting down the driver.