Fix CEF ref-counting crash on exit segfault

On windows you may need to close the console window as well after closing
the main application window.