TaskQueueManager updated to not ignore tasks with callback and previous tasks in the queue