add del task function

Signed-off-by: eggfly <lihaohua90@gmail.com>