This should probably protect from NPE (since coreContext is null until run() is called).