I often use Microsoft Remote Desktop Beta app in MacOS for connecting Windows desktops. As we often close a window in MacOS via Command+W, I sometimes forget to use Control+W to close windows in Windows. As a result, the remote app has witnessed TONS OF unexpected closure and I have to re-open the connection. I think it'll be ok to give an alert box for double confirm.