code: public static void sendCloseBlocking(final int code, String reason, final WebSocketChannel wsChannel) throws IOException {
          sendCloseBlocking(new CloseMessage(code, reason), wsChannel);
      }
docs: Sends a complete close message, invoking the callback when complete
  
  @param code
  @param wsChannel The web socket channel