adding task to clear queue