combine close and error