add err=*next to getThinClient in case BC is running headless