Fixes issue when outside javascript reloads a view and sync tries to
subscribe to an already subscribed to channel