Add a configure option that logstash will stop on an exception repeats for several times

The configure option will be like:

kafka{
        ...
        logstash_stop_on_exception_repeat => 3 ... # number (optional), default: 0 (never stop)
        ...
}

0 for never stop