CFY-1799 added close() for amqp client