Fixed double message bug. initialize networkDisable = false and call onNetworkDisable(). Only subscribe if there are channels. onConnectError always run onNetworkDisable().
Check before removing event listener.