Handle shutdown during schema agreement check