The small processing windows that opens when clicking the end session disappears if you click on another window. It still processes and finishes, but that progress windows disappearing makes it look like it failed when it is working in the background and does finish eventually.