fixed publishing messages after restoring connection to RabbitMQ
Merge pull request #287 from deadhu/master

fixed publishing messages after restoring connection to RabbitMQ