[cyril] added cancel all function.