Fix add_task in pooler task