code: public static <T> RemoveQuery<T> finish(T query, long correlationId, String type) {
  
          return new RemoveQuery<>(
                                   RequestData.builder()
                                              .query(query)
                                              .correlationId(correlationId)
                                              .type(type)
                                              .build());
      }
docs: Marks the end of a query identified by the provided correlationId
  
  @param query - Query data
  @param correlationId - Identifier
  @param type - allows queries to be grouped by type
  @return