/** * {@inheritDoc}. * * <p>Marks this {@link PubsubReader} as no longer active. The {@link PubsubClient} continue to * exist and be active beyond the life of this call if there are any in-flight checkpoints. When * no in-flight checkpoints remain, the reader will be closed. */ @Override public void close() throws IOException { active.set(false); maybeCloseClient(); }