do not close over context.self in TickGenerator, see #3393