[yanan] finish task manager