finish the traffic manager and task manager