Fixed failed previous commit - locking on release should be safe.