CloseIsNotDispose - make sure the websocket is disposed after closing