Fix external service init timeout bug.