In Tools | Options | Keyboard...
- Add CTRL+W as a Global shortcut for Window.CloseDocumentWindow
- Remove the CTRL+W shortcut for Edit.SelectCurrentWord
The caveat to this is if you are used to using CTRL+W to select the current word. If you do, find another shortcut that works for that.