correct error group shutdown