Use unscoped/scoping instead of with_exclusive_scope