modify some debug info, fix a issue that socket open fail can not exit thread