fixed bug - connection.Connection.close wouldn't actually send
a close when there were channels with consumers due to a logic
error