Destructor.
~executor_work_guard();
Unless the object has already been reset, or is in a moved-from state, calls on_work_finished() on the stored executor.
on_work_finished()