Refactor to only parse async config once. #1172