Store free callback in gds_dlist_t structure
Add task in todo list