remove the last search task if not complete