llvm: Make sure to close state