add task_done to allow synchronizaton of the queue