fixed to call handler twice when the handlers are implemented.
detect the unsent data and the lost broker info in async producer
add config to disable auto reconnect
Merge pull request #3 from tiny657/master

fixed handler & detect the the lost broker info and the unsent data.