FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault