This is something only the worker thread should have to care about. No need to have this global on the main thread.