Avoid calling InetAddress.getLocalHost() that can be very slow. Exact connection or disconnection string isn't relevant for tests anyway.
Fixed in 7992df7b93 (cherry picked from commit 78e2f05) #KT-12924 Fixed
7992df7b93