- added a ctx.Done() check in enqueue