closed #4101: No callback is invoked when websocket connection fails