Remove extra assert traps, finalize mutex lock.