only close on error