private async Task EvictSessionAsync(SpannerClient evictionClient,
                                             Session evictionSession)
        {
            await evictionSession.RemoveFromTransactionPoolAsync().ConfigureAwait(false);

            await evictionClient.DeleteSessionAsync(evictionSession.SessionName).ConfigureAwait(false);
        }
 private async Task DeleteSessionAsync(PooledSession session)
 {
     try
     {
         await _client.DeleteSessionAsync(new DeleteSessionRequest { SessionName = session.SessionName }).ConfigureAwait(false);
     }
     catch (RpcException e)
     {
         _logger.Warn("Failed to delete session. Session will be abandoned to garbage collection.", e);
     }
 }