Remove unecessary locks in unwind code.