public CompletableFuture < Void > close ( ) { threadContext . close ( ) ; if ( closeOnStop ) { threadContextFactory . close ( ) ; } return CompletableFuture . completedFuture ( null ) ; }
Closes the primary - backup client .