Lock was deadlocking, so replaced with assert for lock to see what is calling this unlocked.