move config read to coroutine first run only