public void unsetComms() {
    socket = null;
    socketChannel = null;
    inputStream = null;
    outputStream = null;
    cachedCommBuffer = null;
    messageStats = null;
  }
Undo any state changes done by setComms.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Message.java