Actually close on WM_DESTROY.