is this running in xbmc main thread? I think it only should running in it.