Fixed memory leak in AMQP transport when client disconnects.