Exposes task id and retry count to BWL callback