code to ensure start/complete event is emitted for empty tasks