Extract thread in order to be supported by android
Extract thread in order to be supported by android in the philips importer