Ensure AppHostConfig clears old static config instance