Use get_device() in child thread is fine, however, if I call it in child process, it will be stuck without any log.