Remove unnecessary check for task in queue.
Finish check-task-in-queue
Refactoring