exporter: fix undefined variable usage
es: small indent fix
es: response must be consumed in index creation

It http response is not consumed then the socket is not seen as
free and there can not be more than 30 index created.
Merge pull request #46 from regit/fixes

Fix socket not being consumed (limits create index call to ~30)