add tcp server and task manager