Avoid calling InetAddress.getLocalHost() that can be very slow. Exact connection or disconnection string isn't relevant for tests anyway.
Addition to 5d08e82aaf
5d08e82aaf
#KT-15282 Fixed