Fix the issue of startup failure occasionally