Task API kill task task_repeat task_pid