check shutdown token during chain state processing