add task manager to relaunch failed task and it works on file of more than 100 000 lines