[FIX] Core, Locking: Deadlock after downgrading from global write lock