cannot kill thread in btle-server.py, works in serverddebug.py