public static void execute(Connection con, boolean keepAlive) throws Exception {
    AbstractOp op = new CloseConnectionOpImpl(keepAlive);
    try {
      con.execute(op);
    } catch (EOFException e) {
      // expected
    }
  }
Tell a server that a connection is being closed

@param con the connection that is being closed
@param keepAlive whether to keep the proxy alive on the server
geode-core/src/main/java/org/apache/geode/cache/client/internal/CloseConnectionOp.java