detect the unsent data and the lost broker info in async producer

The following functions are added.
1. detect which broker is down in application level.
2. detect the unsent data in application when broker is down.