Attempt at fixing issue #2285
Issue #2285: Restore lock (_graphData)