bluetooth events now not provessed in main thread