add bluetooth connect and connected thread