Reorder to catch all cancel notifications due to shutdown.