Solved multiple task_queue ending at the same time issue.