Close handles in MonitorInfoDemo