ton: add task manager