honor reconnect option during publish
Merge pull request #21 from johnnykv/master

honor reconnect option during publish operations