Fix hang at start.