Fixed NPE in XBMC reconnect