lister_base: Split into chunks the tasks prior to creation
This decreases in smaller transaction which won't timeout
Related to T2160