do not sleep after last retry before raising exception (#790)
do not sleep after last retry before raising exception (#790)

* do not sleep after last retry before raising exception

* documentation: clarification of retry parameter

retry=0 - retry forever
retry=1 - try once, on error don't do any retry
retry=2 - 2 tries, one original and one retry on error
retry=3 - 3 tries, one original and maximum two retries on errors

* retries - move raise before sleep

* retries - documentation

* fix line length
influxdb/influxdb-python,influxdb/influxdb-python,influxdata/influxdb-python,influxdata/influxdb-python