Undo thread change