what the function deactivate_task() exactly do ? 
thanks in advance.