fix load json file randomly failed and connect with file server successfully