Using run_worker can cause race conditions and crashes. It is better to avoid this whenever possible.