Replace thread_.join() with thread_.interrupt(), add python code to fix the orientation problem