cope with cancel gracefully (bug 830422)