Fix race condition stopping share.