remove amqp hook