Improve rcw close
When the user closes a rcw with an error shown, the window cannot be closed, as explained on debian bug 1019655 This MR should fixes it.
When the user closes a rcw with an error shown, the window cannot be closed, as explained on debian bug 1019655 This MR should fixes it.