Support deletion of pending tasks