Update program.cs

Added log.Dispose();