public SeekableByteChannel open(GcsPath path) throws IOException {
    String bucket = path.getBucket();
    SeekableByteChannel channel =
        googleCloudStorage.open(new StorageResourceId(path.getBucket(), path.getObject()));
    return wrapInCounting(channel, bucket);
  }
@Test
  public void testGCSChannelCloseIdempotent() throws IOException {
    GcsOptions pipelineOptions = gcsOptionsWithTestCredential();
    GcsUtil gcsUtil = pipelineOptions.getGcsUtil();
    GoogleCloudStorageReadOptions readOptions =
        GoogleCloudStorageReadOptions.builder().setFastFailOnNotFound(false).build();
    SeekableByteChannel channel =
        gcsUtil.open(GcsPath.fromComponents("testbucket", "testobject"), readOptions);
    channel.close();
    channel.close();
  }