The amqp connections are now being closed properly

The connections/channels were not being closed. They are now. See issue #170