Use new Delivery Tag in message resend and handle channel close.
Merge pull request #105 from akalankapagoda/DeliveryTag

Use new Delivery Tag in message resend and handle channel close.