@After
  public void tearDown() throws IOException {
    if (socket != null) {
      socket.close();
    }
  }
multicast availability is tested in JGroupsMessengerJUnitTest
geode-core/src/integrationTest/java/org/apache/geode/internal/AvailablePortJUnitTest.java