public static boolean isPossibleClientTermination(Throwable cause) {
    if (cause instanceof IOException) {
      String msg = cause.getMessage();
      if (msg != null) {
        return msg.endsWith(CLIENT_RESET_EXCEPTION_MSG) || msg.endsWith(CLIENT_BROKEN_PIPE_EXCEPTION_MSG)
            || msg.endsWith(SSL_ENGINE_CLOSED_EXCEPTION_MSG);
      }
    }
    return false;
  }
@param cause the problem cause.
@return {@code true} this cause indicates a possible early termination from the client. {@code false} otherwise.
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java