Call the callback unconditionally at the end.