Revert threading changes.