Fallback to AJAX if we fail in opening websocket