IErlRuntime cleanup