Fix for race condition when disposing StoreWorker