finish cli for task manager