Javascript Websocket Closing Connection Automatically Youtube

Javascript Websocket Closing Connection Automatically Youtube