logging the container.Dispose exception