Fixed the async publisher example to work with reconnections
Merge pull request #343 from raphdg/fix_doc

Fixed the async publisher example to work with reconnections