Fix #72 AMQP channel not set to confirm.

See bug, Also fixed some concurrency issues.