cope with cancel (bug 830422)