fixed publishing messages after restoring connection to RabbitMQ
Merge pull request #286 from letalumil/master

Fix "NullReferenceException" when trying to get message from an empty queue
Merge pull request #287 from deadhu/master

fixed publishing messages after restoring connection to RabbitMQ