private void onError ( ErrorCode errorCode , String moreDetail ) { startGoAway ( 0 , errorCode , toGrpcStatus ( errorCode ) . augmentDescription ( moreDetail ) ) ; }
Send GOAWAY to the server then finish all active streams and close the transport .