Replace ConvaiClient to new PixelStreamCore.PixelStreamClient()
When using convai-web-sdk through umd without version mention it autoupdates.
In the link you can try adding version after the url it should solve your reliability issue for future as well.