fix crashed with lg tv caused by DCHECK(_source != NULL);

to reproduce the issue:
* open Connect-SDK-Cordova-API-Sampler on ios simulator
* connect lg smart tv
* disconnect -> will crash app