Fix a particular startup crash

e.g. when defining only 1 tcp interface while specifying
"disable_tcp=true"
(cherry picked from commit 101ee782480af07cd9d056b41b9f33d331d21951)