Better cancel error handling.