Use unique_ptr to handle BootInterface's thread