[JS Demo](https://github.com/yunba/yunba-javascript-sdk/blob/master/examples/yunba_javascript_demo_customid.html) 在 subscribe 时,应该先检查是否 connected。