Add API for clear task queue when use aynsc.queue