FIX: webSockets reference after connection failure