public CompletableFuture < Void > kill ( ) { return submitter . close ( ) . thenCompose ( v -> listener . close ( ) ) . thenCompose ( v -> manager . kill ( ) ) . thenCompose ( v -> connection . close ( ) ) ; }
Kills the session .