Add support for delayed tasks in LogQueue