Bring fix from v2.x branch for exception retry handling NameError exception
Bring fix from v2.x branch for exception retry handling NameError exception

theangryangel/logstash-output-jdbc,theangryangel/logstash-output-jdbc